﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Codeplex.SPCleanup.SPUtilities.Cleanup
{
    public class SiteList
    {
        private Guid listID;
        private bool enabled;
        private ListCleanupInfo cleanupInfo;

        public SiteList()
        {
            listID = Guid.Empty;
            cleanupInfo = new ListCleanupInfo();
        }

        public Guid ID
        {
            get { return listID; }
            set { listID = value; }
        }

        public bool Enabled
        {
            get { return enabled; }
            set { enabled = value; }
        }

        public ListCleanupInfo CleanupInfo
        {
            get { return cleanupInfo; }
            set { cleanupInfo = value; }
        }

        public bool Validate()
        {
            return (Guid.Empty != listID && null != cleanupInfo) ? true : false;
        }
    }
}
